//
//  UserInfo.h
//  KEREN
//
//  Created by MW on 2023/3/14.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UserInfo : NSObject

+ (instancetype)initWithDictionary:(NSDictionary *)jsonDic;

@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *picture;
@property (nonatomic, copy) NSString *token;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, assign) NSInteger Id;

@property (nonatomic, copy) NSString *type;//用户类型 "100"普通app车辆用户 "010"经销商用户 "001"后台管理用户 "110"车辆用户和经销商用户 "101"车辆用户和后台管理用户
@property (nonatomic, strong) NSArray *role_ids;
@property (nonatomic, strong) NSArray *role_names;
@property (nonatomic, assign) BOOL password_set;
@end

NS_ASSUME_NONNULL_END
